<?php
class Tourism_goods_bargaining_model extends CI_Model
{
    private $table = 'tourism_goods_bargaining';

    public function findByArray($postData){
        $this->db->select('*');
        $this->db->from($this->table.' AS tourism_goods_bargaining');
        $this->db->where('seller_uid', $postData['seller_uid']);
        $this->db->where('goods_attr_id', $postData['product_id']);

        return $this->db->get();
    }
    
}